#ifndef __DRV_WIFI_H__
#define __DRV_WIFI_H__
#include <stm32f4xx.h>

#define USART3_MAX   128                  

extern uint8_t usart3_buf[USART3_MAX];     
extern uint8_t usart3_len;                 
extern uint8_t usart3_ready;              
extern uint8_t wifi_data;  
//void action_cmdw(void);
void action_cmdw(void);
#define CMD_WIFI_LEN 32                


void drv_usart3_init(void);
void  usart_sendstr(USART_TypeDef* USARTx,char *str,int size);
void drv_wifi_init(void);
void wifi_command(void);
#endif